package com.zzyl.nursing.service.impl;


import com.zzyl.nursing.domain.NursingPlan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zzyl.nursing.mapper.NursingLevelMapper;
import com.zzyl.nursing.domain.NursingLevel;
import com.zzyl.nursing.service.INursingLevelService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * 护理等级Service业务层处理
 *
 * @author syl
 * @date 2025-05-23
 */
@Service
public class NursingLevelServiceImpl extends ServiceImpl<NursingLevelMapper, NursingLevel> implements INursingLevelService {
    @Autowired
    private NursingLevelMapper nursingLevelMapper;

    /**
     * 获取护理计划
     *
     * @param nursingPlan
     * @return
     */
    @Override
    public List<NursingPlan> getPlan(NursingPlan nursingPlan) {

        return nursingLevelMapper.getPlan(nursingPlan);
    }
}
